package com.zcxx.cotton.pick.service;

import com.zcxx.cotton.pick.domain.PickMapElement;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface IPickMapElementService {

    public List<PickMapElement> selectPickMapElementListByPid(Long pid);

    public List<PickMapElement> selectPickMapElementTreeList(String name);

    public int batchInsert(List<PickMapElement> list);

    public int batchUpdate(List<PickMapElement> list,String tableName);

    public List<PickMapElement> selectAll(String tableName,String category);

    public Double getArea(String detail);

    BigDecimal selectTotalArea(@Param("category") String category);
}
